package com.google.code.sip.ucenter.ws.dto;

import java.util.Date;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter;

import com.google.code.sip.ucenter.ws.adapter.DateAdapter;

/**
 * 不良词语实体类,用于用户名注册
 * 
 * @author Liuye
 * 
 */
@XmlRootElement(name = "userEvent")
@XmlSeeAlso(BaseDto.class)
@XmlAccessorType(XmlAccessType.FIELD)
@SuppressWarnings("serial")
public class UserEventDto extends BaseDto {
	/**
	 * 用户id
	 */
	private String userId;
	/**
	 * 事件类型
	 */
	private String type;
	/**
	 * 事件内容
	 */
	private String content;

	/**
	 * 创建日期
	 */
	@XmlJavaTypeAdapter(DateAdapter.class)
	private Date createdDate;

	public String getUserId() {
		return userId;
	}

	public void setUserId(String userId) {
		this.userId = userId;
	}

	public String getType() {
		return type;
	}

	public void setType(String type) {
		this.type = type;
	}

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

}
